package org.poseidon.report.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.poseidon.common.annotation.Excel;
import org.poseidon.common.core.domain.BaseEntity;

/**
 * 记录对象 bu_report
 * 
 * @author gfc
 * @date 2022-02-22
 */
public class BuReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 年第几周 */
    @Excel(name = "年第几周")
    private Integer weekOfYear;

    /** 月第几周 */
    @Excel(name = "月第几周")
    private Integer weekOfMonth;

    /** 年份 */
    @Excel(name = "年份")
    private Integer year;

    /** 月份 */
    @Excel(name = "月份")
    private Integer month;

    /** 提交次数 */
    @Excel(name = "提交次数")
    private Integer count;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setWeekOfYear(Integer weekOfYear) 
    {
        this.weekOfYear = weekOfYear;
    }

    public Integer getWeekOfYear() 
    {
        return weekOfYear;
    }
    public void setWeekOfMonth(Integer weekOfMonth) 
    {
        this.weekOfMonth = weekOfMonth;
    }

    public Integer getWeekOfMonth() 
    {
        return weekOfMonth;
    }
    public void setYear(Integer year) 
    {
        this.year = year;
    }

    public Integer getYear() 
    {
        return year;
    }
    public void setMonth(Integer month) 
    {
        this.month = month;
    }

    public Integer getMonth() 
    {
        return month;
    }
    public void setCount(Integer count) 
    {
        this.count = count;
    }

    public Integer getCount() 
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("weekOfYear", getWeekOfYear())
            .append("weekOfMonth", getWeekOfMonth())
            .append("year", getYear())
            .append("month", getMonth())
            .append("count", getCount())
            .toString();
    }
}
